Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore time difference order so future extrapolation exceptions show positive seconds into future #522

Merged
merged 1 commit into from
Feb 4, 2022

Conversation

lucasw
Copy link
Contributor

@lucasw lucasw commented Nov 3, 2021

There was a manual merge 52bff88 as a part of #470 that caused this regression, resulting in negative seconds into the future:

tf2.ExtrapolationException: Lookup would require extrapolation -0.041266203s into the future.

If the t0 - t1 ordering is confusing could alternatively do -tdiff.to_sec().

…t show non-sensical negative seconds into the future
@lucasw lucasw requested a review from tfoote as a code owner November 3, 2021 14:36
Copy link
Member

@tfoote tfoote left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, this is the correct behavior.

@tfoote tfoote merged commit c0cb44e into ros:noetic-devel Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants